//
//  WBTextDiyView.h
//  WeiBo
//
//  Created by EDZ on 2017/9/30.
//  Copyright © 2017年 powertorque. All rights reserved.
//

#import <UIKit/UIKit.h>


#pragma mark - WBTextDiyView

@class WBStatus;
@class WBTextDiyView;
@class WBVisialLink;

@protocol WBTextDiyViewDelegate <NSObject>

@optional
- (void)textDiyView:(WBTextDiyView *)textDiyView didTapLink:(WBVisialLink *)link;

@end

@interface WBTextDiyView : UIView

@property (nonatomic, weak, readonly) UITextView *textView;
@property (nonatomic, strong) WBStatus *status;

@property (nonatomic, weak) id<WBTextDiyViewDelegate> delegate;

@property (nonatomic, strong, readonly) NSArray<WBVisialLink *> *links;

@end


#pragma mark - WBRectView

@class WBVisialLink;

@interface WBRectView : UIView

@property (nonatomic, strong) WBVisialLink *link;

@end
